From: kaf24@firebug.cl.cam.ac.uk Date: Mon, 10 Apr 2006 15:31:53 +0000 (+0100) Subject: build: Make sure that DESTDIR is set X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16158^2~9^2~2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=4886bb64c1ab8f5c0884a6ebc5c9c7591149684b;p=xen.git build: Make sure that DESTDIR is set In the case where XEN_PYTHON_NATIVE_INSTALL is in effect, if DESTDIR is not set then the install will go into a relative directory rather than under the default prefix (usually /usr). An alternate solution would be to update the fragments that do the python install to use $(DESTDIR)/ instead of $(DESTDIR). This is not an incredible burden as there are only two such fragments in the tree. However, it seems prone to error as new makefiles are created in the future. Signed-Off-By: Horms --- diff --git a/Config.mk b/Config.mk index 7cea3953c5..2b15addd12 100644 --- a/Config.mk +++ b/Config.mk @@ -24,6 +24,7 @@ OBJCOPY = $(CROSS_COMPILE)objcopy OBJDUMP = $(CROSS_COMPILE)objdump DISTDIR ?= $(XEN_ROOT)/dist +DESTDIR ?= / INSTALL = install INSTALL_DIR = $(INSTALL) -d -m0755